package pl.diagnoser.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

public class EstimateDTO implements IsSerializable {

	private Long id;
	private String estDate;
	private ObjectsDTO objects;
	private String defect;

	public EstimateDTO() {}
	public EstimateDTO( String estDate, ObjectsDTO objects, String defect, Long id) {
		this.id = id;
		this.estDate = estDate;
		this.objects = objects;
		this.defect = defect;
	}
	public EstimateDTO( String estDate, ObjectsDTO objects, String defect) {
		this.estDate = estDate;
		this.objects = objects;
	    this.defect = defect;
	}

	public Long getId() {
		return this.id;
	}

	public void setId( Long id ) {
		this.id = id;
	}

	public String getEstDate() {
		return estDate;
	}

	public void setEstDate( String estDate ) {
		this.estDate = estDate;
	}

	public String getDefect() {
		return defect;
	}

	public void setdefect( String defect ) {
		this.defect = defect;
	}

	public ObjectsDTO getObjects() {
		return objects;
	}

	public void setObjects( ObjectsDTO objects ) {
		this.objects = objects;
	}
}